FROM python:3.9
LABEL authors="42931"
COPY ./requirements.txt /app/requirements.txt
RUN pip3 install --upgrade -r /app/requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple
COPY ./ .
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "8000"]